<?php

namespace app\wechat\controllers;

use app\wechat\core\BaseController;
use app\wechat\interfaces\SiteInterface;
use app\wechat\models\SiteModel;
use cm;

class SiteController extends BaseController implements SiteInterface
{
    /*
    * 所有站点
    */
    function actionAll()
    {
        return (new SiteModel())->actionAll();
    }

    /*
    * 搜索站点
    */
    function actionSearch()
    {
        return (new SiteModel())->actionSearch();
    }
}